A SAT-based Method for Basis Path Testing using KodKod

نویسنده

  • Insang Chung
چکیده

A large portion of automated testing techniques has been developed for the statement or branch test coverage criteria. Among structural criteria, however, research on basis path testing has received little attention. The basis path testing requires a set of basis paths to be executed during testing. However, traditional testing methods for basis path generation consider only the control flow of a program and furthermore ignore loop. As a consequence, infeasible basis paths can be generated. In this paper, we present a goal-oriented testing method based on SAT(Boolean SATisfiability) for basis path testing. Specifically, the proposed method makes advantage of KodKod which is an efficient constraint solver for first order logic with relations. In the proposed method, KodKod is used to formulate a program and the basis path testing criterion to generate feasible basis paths of optimal lengths. Our method can generate test inputs on which basis paths are executed. We present a case study with some empirical results to show that the proposed method can generate feasible basis paths of optimal lengths effectively.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Validating B, Z and TLA + Using ProB and Kodkod

We present the integration of the Kodkod high-level interface to SAT-solvers into the kernel of ProB. As such, predicates from B, Event-B, Z and TLA can be solved using a mixture of SAT-solving and ProB’s own constraint-solving capabilities developed using constraint logic programming: the first-order parts which can be dealt with by Kodkod and the remaining parts solved by the existing ProB ke...

متن کامل

SAL, Kodkod, and BDDs for Validation of B Models Lessons and Outlook

PROB is a model checker for high-level B and Event-B models based on constraint-solving. In this paper we investigate alternate approaches for validating high-level B models using alternative techniques and tools based on using BDDs, SAT-solving and SMTsolving. In particular, we examine whether PROB can be complemented or even supplanted by using one of the tools BDDBDDB, Kodkod or SAL.

متن کامل

Optimizing MiniSAT Variable Orderings for the Relational Model Finder Kodkod - (Poster Presentation)

Introduction. It is well-known that the order in which variables are processed in a DPLL-style SAT algorithm can have a substantial effect on its run-time. Different heuristics, such as VSIDS [2], have been proposed in the past to obtain good variable orderings. However, most of these orderings are general-purpose and do not take into account the additional structural information that is availa...

متن کامل

Towards Model Validation and Verification with SAT Techniques

After sketching how system development and the UML (Unified Modeling Language) and the OCL (Object Constraint Language) are related, validation and verification with the tool USE (UML-based Specification Environment) is demonstrated. As a more efficient alternative for verification tasks, two approaches using SAT-based techniques are put forward: First, a direct encoding of UML and OCL with Boo...

متن کامل

Distributed SAT-Based Computation of Relational Tight Bounds

SAT based analysis of code consists on providing an appropriate translation of code to a SAT problem, and using a SAT solver to analyze properties of the source program. This process can be improved if bounds for relations modeling class fields are introduced ala KodKod. In this article we present a distributed algorithm for automated inference of tight field bounds. From a technical point of v...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017